Skip to main content
Version: 6.1.0

Datatype Version

Datatype version configuration on data.json requires following basic structure

It configures schema of the datatype.

{
"id": "c7f2910f-a176-47c4-bd85-dfb146241031",
"name": "1.0.0",
"schema": {
"data": {
"properties": {
"label": {
"type": "string",
"x-label": {
"en": "Jira User Label",
"ko": "지라 유저 라벨"
}
},
"name": {
"type": "string",
"x-label": {
"en": "Jira User Name",
"ko": "지라 유저 이름"
}
},
"value": {
"properties": {
"displayName": {
"type": "string",
"x-label": {
"en": "Jira User Name",
"ko": "지라 유저 이름"
}
},
"email": {
"type": "string",
"x-label": {
"en": "Jira User Email",
"ko": "지라 유저 이메일"
}
},
"id": {
"type": "string",
"x-label": {
"en": "Jira User ID",
"ko": "지라 유저 아이디"
}
}
},
"type": "object",
"x-label": {
"en": "Jira User",
"ko": "지라 유저"
}
}
},
"type": "object"
},
"type": "object",
"valuesLogicInput": {
"properties": {
"project": {
"properties": {
"id": {
"type": "string"
}
},
"required": [
"id"
],
"type": "object"
}
},
"required": [
"project"
],
"type": "object"
}
}
}

If id is not provided, CLI will autogenerate it and insert it into the file before creating a new datatype version. If id is provided, CLI will update the datatype version with that id.